<?php
	header("Content-Type: text/html;charset=utf-8");
	include("../_judge.php");
	include("../../function/function.php");
	
	$id = chkstr(trim($_REQUEST['id']));
	if(!is_numeric($id)){
		echo erro("ID错误");
	}
	
	$news_sql = "select * from kboy_forum_active where id=$id";
	$news_rows = mysql_query($news_sql);
	$news_nums = mysql_num_rows($news_rows);
	if($news_nums > 0){
		$news_rs = mysql_fetch_array($news_rows);
		$active_title = $news_rs['active_title'];
		$active_bigclass = $news_rs['active_bigclass'];
		$active_mingyi = $news_rs['active_mingyi'];
		$active_fanwei = $news_rs['active_fanwei'];
		$active_xianzhi = $news_rs['active_xianzhi'];
		$active_all_money = $news_rs['active_all_money'];
		$active_part_money = $news_rs['active_part_money'];
		$active_end_user = $news_rs['active_end_user'];
		$active_text = $news_rs['active_text'];
		$active_pic = $news_rs['active_pic'];
		$active_hd_content = $news_rs['active_hd_content'];
		$active_power = $news_rs['active_power'];
		$active_all_line = $news_rs['active_all_line'];
		$active_start_prov = $news_rs['active_start_prov'];
		$active_start_city = $news_rs['active_start_city'];
		$active_end_prov = $news_rs['active_end_prov'];
		$active_end_city = $news_rs['active_end_city'];
		$active_start_time = $news_rs['active_start_time'];
		$active_end_time = $news_rs['active_end_time'];
		$active_post_time = $news_rs['active_post_time'];
		$active_center = $news_rs['active_center'];
		$active_center_time = $news_rs['active_center_time'];
		$active_jingdian = $news_rs['active_jingdian'];
		$active_traffic = $news_rs['active_traffic'];
		$active_transport = $news_rs['active_transport'];
		$active_traffic_info = $news_rs['active_traffic_info'];
		$active_contact = $news_rs['active_contact'];
		$active_contact_people = $news_rs['active_contact_people'];
		$active_contact_phone = $news_rs['active_contact_phone'];
		$active_people = $news_rs['active_people'];
		$active_line = $news_rs['active_line'];
		$active_xingcheng = $news_rs['active_xingcheng'];
		$active_zhuangbei = $news_rs['active_zhuangbei'];
		$active_baoming = $news_rs['active_baoming'];
		$active_ditu = $news_rs['active_ditu'];
		$active_koubei = $news_rs['active_koubei'];
		$active_charge_details = $news_rs['active_charge_details'];
		$active_addtime = $news_rs['active_addtime'];
		$uid = $news_rs['uid'];
		$active_hits = $news_rs['active_hits'];
		$active_model = $news_rs['active_model'];
		$active_state = $news_rs['active_state'];
		$active_favor = $news_rs['active_favor'];
	}else{
		echo erro("该信息已经被删除或不存在");
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?= $adminweb_titles ?></title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script>if (top.location != parent.location||self.location==top.location){top.location.replace('../login/admin.php')}</script>
</head>

<body>
  <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#999999">
    <tr>
      <td align="right" bgcolor="#EFEFEF">发布人：</td>
      <td bgcolor="#EFEFEF"><?=getUserNickName($uid)?></td>
    </tr>
    <tr>
      <td width="100" align="right" bgcolor="#EFEFEF">标题：</td>
      <td bgcolor="#EFEFEF"><?=$active_title?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">类别：</td>
      <td bgcolor="#EFEFEF"><?=getClassName("kboy_bigclass","bigclass_cn","id=".$active_bigclass)?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">全款：</td>
      <td bgcolor="#EFEFEF"><?=$active_all_money?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">首付：</td>
      <td bgcolor="#EFEFEF"><?=$active_part_money?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">收队：</td>
      <td bgcolor="#EFEFEF"><?=$active_end_user?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">特色活动：</td>
      <td bgcolor="#EFEFEF"><?=$active_text?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">活动内容：</td>
      <td bgcolor="#EFEFEF"><?=$active_hd_content?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">强度：</td>
      <td bgcolor="#EFEFEF">
	  <?php
			if(!is_numeric($active_power)){
				echo $active_power;
			}else{
				echo getClassName("kboy_bigclass","bigclass_cn","id=".$active_power);
			}
	  ?>
	  </td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">全程：</td>
      <td bgcolor="#EFEFEF"><?=$active_all_line?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">出发地：</td>
      <td bgcolor="#EFEFEF"><?=$active_start_prov?><?=$active_start_city?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">目的地：</td>
      <td bgcolor="#EFEFEF"><?=$active_end_prov?><?=$active_end_city?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">开始时间：</td>
      <td bgcolor="#EFEFEF"><?=$active_start_time?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">结束时间：</td>
      <td bgcolor="#EFEFEF"><?=$active_end_time?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">报名时间：</td>
      <td bgcolor="#EFEFEF"><?=$active_post_time?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">集合点：</td>
      <td bgcolor="#EFEFEF"><?=$active_center?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">集合时间：</td>
      <td bgcolor="#EFEFEF"><?=$active_center_time?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">景点：</td>
      <td bgcolor="#EFEFEF"><?=$active_jingdian?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">交通：</td>
      <td bgcolor="#EFEFEF"><?=$active_traffic?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">不包车：</td>
      <td bgcolor="#EFEFEF"><?=$active_transport?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">车辆信息：</td>
      <td bgcolor="#EFEFEF"><?=$active_traffic_info?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">联系电话：</td>
      <td bgcolor="#EFEFEF"><?=$active_contact?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">联系人：</td>
      <td bgcolor="#EFEFEF"><?=$active_contact_people?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">应急电话：</td>
      <td bgcolor="#EFEFEF"><?=$active_contact_phone?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">所需人数：</td>
      <td bgcolor="#EFEFEF"><?=$active_people?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">线路描述：</td>
      <td bgcolor="#EFEFEF"><?=$active_line?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">行程安排：</td>
      <td bgcolor="#EFEFEF"><?=$active_xingcheng?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">装备需求：</td>
      <td bgcolor="#EFEFEF"><?=$active_zhuangbei?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">报名须知：</td>
      <td bgcolor="#EFEFEF"><?=$active_baoming?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">费用明细：</td>
      <td bgcolor="#EFEFEF"><?=$active_charge_details?></td>
    </tr>
</table>
</body>
</html>
